﻿@model Everynet.Models.OrdersModel
@{
    ViewBag.Title = "UserStatus";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<br /><br />
<div style="float:right;">
 <text>Welcome <strong>@Model.FirstName @Model.LastName</strong>!
    [ @Html.ActionLink("Log Off", "SignIn", "signUp") ] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</text>
    </div>
<div id="pageContainerMyacc">
<h2><u>User Order Status:</u></h2>

 <br />
     <div class="div60">
            <div class="txtboxes60" style="margin-top:0px !important;">
          <span> Order Status:</span></div>
               
            <div> 
            
            @if (String.IsNullOrEmpty(@Model.OrderStatusCompleteRegistered.ToString()))
            { 
             <b> @("Application Incomplete.")</b>
                 <a href="@Url.Action("Index", "signUp")" id="AclickUser">Click here to continue</a>
            }
            else
            {
                if (String.IsNullOrEmpty(@Model.OrderStatus.ToString()) || @Model.OrderStatus.ToString() == "0")
                {
                 <b> @("Your signup process is complete.We will contact you soon.")</b>
                }
                else if (@Model.OrderStatus.ToString() == "1")
                {
                  <b> @(" Your payment is received.Your Connection will be connected soon.")</b>
                }
                else if (@Model.OrderStatus.ToString() == "2")
                {
                 <b> @("Your Connection is Connected.")</b>
               }
            }
                </div>
            </div>

</div>
 @section JavaScript
{
<script type="text/javascript">
    $(function () {
        $("#Topnavigation").hide();
    });


    $('#AclickUser').live('click', function () {
       
        $.cookie("UserLoginChk", null, { path: '/', expires: -5 });
        var obj = "1";
        $.cookie("UserLoginChk", obj, { path: '/', expires: 1 });

        var obj2 = '@Model.ID';
        $.cookie("ckUserID", obj2, { path: '/', expires: 1 });

        $.cookie("MainCookie", null, { path: '/', expires: -5 });
        var obj3 = "1" + '|' + "1" + '|' + "TransACT";
        $.cookie("MainCookie", obj3, { path: '/', expires: 1 });
    });

 </script>


 }